<div class="main" id="main">
<!--left-->
<div class="left appSidebar">
	<!--个人信息-->
	<div class="userInfoNav">
		<div class="userInfo">
			<div class="avatarImg"><?if($this->pbdata['avatar_version']):?><a href="<?=get_user_home_url($this->user_id)?>"><img src="<?=$this->pbdata['avatar_l']?>" /></a><?else:?><a href="<?=UC_CONF_UC_DOMAIN?>/user/profile/?act=view&to=2"><img src="<?=UC_CONF_STATIC_DOMAIN?>/images/avatar/tx_3_90x90_.gif" /></a><?endif;?></div>
			<div class="userAvatarR">
				<h2><?if($this->pbdata['offical']):?><span class="iconOffical"><?endif;?></span><a href="<?=get_user_home_url($this->user_id)?>"><?if(!empty($this->pbdata['user_name'])) echo utf_substr($this->pbdata['user_name'], 10 ,false); else echo '您的昵称';?></a><?if($this->pbdata['offical']):?></span><?endif;?></h2>
				<p class="pd10"><a href="<?=get_user_home_url($this->user_id)?>"  class="txt3">预览我的主页</a><br /><a href="<?=UCLibPageBuilder::createUrl('user/profile', array('act' => 'view', 'to' => 2))?>" class="txt3">上传头像</a></p>
		  </div>
		  <?if(is_array($this->pbdata['medal_list'])):?>
				<div class="prizeList" id="medal_list">
				<?foreach($this->pbdata['medal_list'] as $k=>$v):?><a cont="<?php echo $k.'|'.$v['name'].'|'.$v['time'].'|'.$v['type_name'].'|'.$v['desc'].'|'.$v['medal_status'].'|'.$v['img'].'|'.$v['url'].'|'.$v['next'].'|'.$v['modify_time'];?>" href="javascript:void(0)" title="<?php echo $v['name'];?>：<?php echo $v['m_desc'];?>" flag="my" id="medal_<?=$k?>"><img onload="snda.core.common.fixPNG(this);" src="<?php if(UCConfMedal::MEDAL_USER_STATUS_DONEANDHAVE!=$v['medal_status']){$medal_type='d';}else{$medal_type='s';}echo UCModMedalInterface::getMedalAvatar($v['img'],$medal_type);?>" class="disable"/></a><?endforeach;?>
				</div>
		  <?endif;?>
		  <ul class="userAllNum">
				<span id="userAllNumList">
				</span>
				<div class="clear"></div>
		  </ul>
		</div>	
	</div>
	<!--/个人信息-->
	<!--app list-->
	<div class="appBoxT" id="appList">
		<div class="appBoxB">
			<div class="appBox">
				<div class="appBoxbg">
					<!--app-->
					<div class="app" style="min-height:480px;_height:480px;">
						<span id="appNavList">
							<?php foreach($app_list as $app):?>
							<a appid="<?php echo $app['id'];?>" <?php echo UCModPanel::getLink($app);?>><img onload="snda.core.common.fixPNG(this);" src="<?php echo UCModPanel::getIcon($app['id']);?>" alt="<?php echo htmlspecialchars($app['title']);?>" width="50" height="50" /><br /><?php echo subStrCh($app['title'],10,false);?></a>
							<?php endforeach;?>
						</span>
						<div class="clear"></div>
				  </div>
				  <!--/app-->
				  <!--分页-->
				  <div class="leftPage" id="leftPage">
					<a href="javascript:void(0);" id="app_page1" class="cur">1</a>
					<?php for($i=2,$n=ceil($total/$size);$i<=$n;$i++):?>
						<a href="javascript:void(0);" onclick="snda.uclib.component.store.page(<?php echo $i;?>);return false;" id="app_page<?php echo $i;?>"><?php echo $i;?></a>
					<?php endfor;?>
				  </div>
				  <!--/分页-->
				  <div class="topFive">
					<a href="/relation"><img src="<?=__STATIC_URL?>/images/app/samllapp2.png" onload="snda.core.common.fixPNG(this);"/><br />好友</a>
					<a href="/message"><img src="<?=__STATIC_URL?>/images/app/samllapp3.png" onload="snda.core.common.fixPNG(this);"/><br />信箱</a>
					<a href="/medal"><img src="<?=__STATIC_URL?>/images/app/samllapp4.png" onload="snda.core.common.fixPNG(this);"/><br />勋章</a>
					<a href="/user/profile/?act=view"><img src="<?=__STATIC_URL?>/images/app/samllapp1.png" onload="snda.core.common.fixPNG(this);"/><br />设置</a>
					<a href="/store/account"><img src="<?=__STATIC_URL?>/images/app/samllapp5.png" onload="snda.core.common.fixPNG(this);"/><br />通行证</a>
					<div class="clear"></div>
				  </div>
				</div>
			</div>
		</div>
	</div>
	<!--/app list-->
	</div>
	<!--/left-->
<script language=javascript>
	jQuery.data(document.body, "app_panel_data[1]",<?php echo $encodeApp;?>);
</script>